interface Menu {
  id: string;
  title: string;
  icon?: string;
  to: string;
  childMenu?: Menu[];
}
let menu: Menu[] = [
  {
    id: "0",
    title: "首页",
    icon: "el-icon-menu",
    to: "/home"
  },
  {
    id: "01",
    title: "权限管理",
    icon: "el-icon-document",
    to: "",
    childMenu: [
      { id: "0101", title: "部门管理", to: "/home/rights/depart" },
      { id: "0102", title: "用户管理", to: "/home/rights/usermanage" },
      { id: "0103", title: "资源管理", to: "/home/rights/resource" },
      { id: "0104", title: "角色管理", to: "/home/rights/role" },
      { id: "0105", title: "角色与资源管理", to: "/home/rights/roleandres" },
      {
        id: "0106",
        title: "用户与角色管理",
        to: "/home/rights/userandrole"
      }
    ]
  }
];
export { menu };
